import student.web.Application;

public class ExApp extends Application
{
	public ExApp()
	{
		super("ExApp");
	}
	public void tryStoreNull()
	{
		Example ex = new Example();
		ex.string1 = null;
		ex.string2 = "test";
		ex.string3 = "test";
		ex.string4 = "test";
		ex.string5 = "test";
		setSharedObject("NOSTORE", ex);
	}
	public void tryStoreCorrect()
	{
		Example ex = new Example();
		ex.string1 = "test";
		ex.string2 = "test";
		ex.string3 = null;
		ex.string4 = null;
		ex.string5 = null;
		setSharedObject("STORE", ex);
	}
	public void tryRestoreMissing()
	{
		Example ex = this.getSharedObject("SPECIAL", Example.class);
	}
	@Override
	public boolean login(String userName, String password)
	{
		// TODO Auto-generated method stub
		return false;
	}
}